home *** CD-ROM | disk | FTP | other *** search
- unit Ol;
-
- { The form accompanying this unit (OL.DFM) was used to generate
- sample component definition OUTLINE.CD, a panel component
- containing an outline and buttons to expand and shrink
- the outline.
-
- Component Create read the panel and generated the complete
- component definition from it. Functionality was added to the
- Expand and Shrink buttons in methods that Component Create
- provided as empty begin...end blocks. }
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, Buttons, StdCtrls, Grids, Outline, ExtCtrls;
-
- type
- TForm2 = class(TForm)
- Panel1: TPanel;
- Outline1: TOutline;
- ShrinkBtn: TButton;
- ExpandBtn: TButton;
- CancelBtn: TBitBtn;
- OKBtn: TBitBtn;
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form2: TForm2;
-
- implementation
-
- {$R *.DFM}
-
- end.
-